package com.shuziren.Intervie;

import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.DeserializationContext;
import com.fasterxml.jackson.databind.JsonDeserializer;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.shuziren.config.DifficultyDeserializer;

import java.io.IOException;

public class InterviewQuestion {
    public enum Difficulty {
        EASY, MEDIUM, HARD
    }

    @JsonDeserialize(using = DifficultyDeserializer.class)
    private Difficulty difficulty;

    // getters and setters
}

